package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
 import java.io.Serializable;
import java.util.Date;
 /**
 * <p>
 * 用户相册。
 * </p>
 *
 * @author lian
 * @since 2016-12-26
 */
@TableName("user_picture")
public class UserPicture extends Model<UserPicture> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 照片ID
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	/**
	 * 用户ID
	 */
	private String userid;
	/**
	 * 全图链接
	 */
	@TableField(value="full_picture")
	private String fullPicture;
	/**
	 * 缩略图
	 */
	private String thumbnail;
	/**
	 * 上传时间
	 */
	private Date time;
	/**
	 * 是否删除
	 */
	@TableField(value="is_del")
	private Integer isDel;
 	@Override
	public String toString() {
		return "UserPicture{" +
				"id=" + id +
				", userid='" + userid + '\'' +
				", fullPicture='" + fullPicture + '\'' +
				", thumbnail='" + thumbnail + '\'' +
				", time=" + time +
				", isDel=" + isDel +
				'}';
	}
 	public Integer getId() {
		return id;
	}
 	public void setId(Integer id) {
		this.id = id;
	}
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public String getFullPicture() {
		return fullPicture;
	}
 	public void setFullPicture(String fullPicture) {
		this.fullPicture = fullPicture;
	}
 	public String getThumbnail() {
		return thumbnail;
	}
 	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
 	public Date getTime() {
		return time;
	}
 	public void setTime(Date time) {
		this.time = time;
	}
 	public Integer getIsDel() {
		return isDel;
	}
 	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
 	@Override
	protected Serializable pkVal() {
		return this.id;
	}
 }
